package cn.shengchao.examstar.rpc.uddsys.resp;

import lombok.Data;
import top.continew.starter.security.crypto.annotation.FieldEncrypt;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @program: examstarapi
 * @description: 平台用户查询结果
 * @author: Xiong weiqiang
 * @create: 2025-03-31 15:56
 */
@Data
public class DistributeUserVo implements Serializable {
    private Long userId;
    private String username;

    @FieldEncrypt
    private String phone;

    private String email;

    private LocalDateTime createTime;

    private String nickname;
    //管理人员所有用户id（员工有管理者）
    private Long adminUserId;

    private String distributeRoleCode;

    private String distributeRoleName;

    private String fullName;

    private String shortName;

    private Integer distributeType;

    private BigDecimal percentStable;
    private BigDecimal monthSumAmount;
    private BigDecimal orderSumAmount;

    //上级部门所有用户id
    private Long deptId;

    //所属部门所有用户id
    private String deptName;

    //上级部门所有用户id
    private String userDeptOwnerId;
    //上级部门用户id
    private Long userDeptUpUserId;

    private Integer enableStatus;

    private String cardNo;
}